package org.example.erp.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.erp.domain.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_menu(菜单表)】的数据库操作Mapper
* @createDate 2024-11-04 09:35:45
* @Entity org.example.erp.domain.SysMenu
*/
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> findMenus(@Param(value = "username")String username, @Param(value = "menuType") String menuType);

    List<SysMenu> findMenuCascade(@Param(value = "menuName") String menuName,@Param(value = "status") Integer status);

    List<SysMenu> findBySys_RoleId(@Param(value = "roleId") Integer roleId);

}




